using MicroMsg.Plugin.QQInfo.Manager;
using MicroMsg.Storage;
using MicroMsg.UI.UserContrl;
using System;
using System.Collections.Generic;
namespace MicroMsg.UI.Page
{
	internal class FriendFetcher : IDataFetcher<QFriend>
	{
		private int groupId;
		private int groupNum;
		public FriendFetcher(uint uint_0, int int_0)
		{
			this.groupId = (int)uint_0;
			this.groupNum = int_0;
		}
		public List<QFriend> fetchDatas(int start, int count)
		{
			if (start >= this.groupNum)
			{
				return new List<QFriend>();
			}
			if (start + count > this.groupNum)
			{
				count = this.groupNum - start - 1;
			}
			return QFriendMgr.getQFriendList(this.groupId, start, count);
		}
	}
}
